package com.application.Activity;




import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

import com.application.TextNode.BoardViewTN;
import com.application.TextNode.TextNode;
import com.application.Tree.BoardView;


public class frmTextNodeActivity extends Activity {
	public static Runnable raAddnode = null;
	public static Runnable raUpdateTextNode = null;
	public static Runnable raDeleteNode = null;
	private BoardViewTN board;
	public static long idNode;
	public static TextNode nodeAdd;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		board = new BoardViewTN(this);
		setContentView(board);
		
		board.bringToFront();
		Log.d("Phu", "frmTextNodeActivity onCreate");
		
		raAddnode = new Runnable() {
			@Override
			public void run() {
					
				board.addNode(idNode, nodeAdd, BoardView.treePath);
			}
		};
	
	}

}
